package com.xm2.demo.system.customer.service;

import com.xm2.demo.model.Complaint;
import com.xm2.demo.system.customer.ov.ComplaintOv;
import com.xm2.demo.utils.Pagination;

import java.text.ParseException;

/**
 * @Author
 * @Date 2018/12/16 15:50
 * @Description
 */
public interface ComplaintService {
    Pagination findByComplaintPage(ComplaintOv complaintOv);
    // 根据时间查询
    Pagination findByComplaintPageDate(ComplaintOv complaintOv) throws ParseException;
    // 修改状态
    void updateComplaintStatus(ComplaintOv complaintOv);

    void deleteComplaintStatus(ComplaintOv complaintOv);

    void addComplaint(Complaint complaint);
}
